package com.es.app.dao;

import com.es.app.pojo.Book;
import org.springframework.data.elasticsearch.annotations.Query;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

public interface BookDao extends ElasticsearchRepository<Book,Integer> {

    @Query("")
    List<Book> findByBook_name(String book_name);

}
